package _25_visitor_pattern.v_common;

/**
 * @Description: 具体元素1
 * @Auther: 2019/6/30 9:33 by zhang.jy
 */
public class ConcreteElement1 extends Element {
	//完善业务逻辑
	public void doSomething() {
		//业务处理
	}

	//允许那个访问者访问
	public void accept(IVisitor visitor) {
		visitor.visit(this);
	}
}